import request from '@/utils/request'

export default {

  getUserMsg(queryParam,pageParam) {
    return request({
      url: '/userMsg/getUserMsg',
      method: 'post',
      data: {
        ...queryParam,
        current: pageParam.current,
        size: pageParam.size
      }
    })
  },
  deleteMsg(data) {
    return request({
      url: '/userMsg/deleteMsg',
      method: 'post',
      data
    })
  },
  //保存
  saveSendMsg(data) {
    return request({
      url: '/userMsg/saveorSendMsg',
      method: 'post',
      data
    })
  }
}
